package com.xzw.cameratest.organization;

import com.android.business.entity.ChannelInfo;
import com.android.business.entity.GroupInfo;
import com.android.business.exception.BusinessException;

import java.util.List;

/**
 * @descripe:
 * @author:111144
 * @date:2020/4/27
 */
public interface GroupAdapterInterface  {

    /**
     * 加载所有组织
     * @param groupId 组织id
     * @return
     * @throws BusinessException
     */
    public List<GroupInfo> loadGroup(String groupId) throws BusinessException;

    /**
     * 根据通道id加载通道
     * @param channelIds 通道id列表
     * @return
     * @throws BusinessException
     */
    public List<ChannelInfo> loadChannelByChannelIds(List<String> channelIds) throws BusinessException;

    /**
     * 根据组织id加载通道
     * @param groupId 组织id
     * @return
     * @throws BusinessException
     */
    public List<ChannelInfo> loadChannelIdByGroupId(String groupId)throws BusinessException;


}
